package com.huike.review.service;

import com.huike.common.core.domain.AjaxResult;
import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

AjaxResult saveData(String name, Integer age, String sex);


AjaxResult saveData(Review review);


AjaxResult update(Review review);

AjaxResult deleteById(Long id);

AjaxResult findById(Long id);

TableDataInfo findByPage(Integer pageNum, Integer pageSize);
}
